home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_1
/
lcnt150u.zip
/
LOCATER.ZIP
/
LOCATER.DOC
next >
Wrap
Text File
|
1992-11-27
|
4KB
|
96 lines
=============================================================================
Locater - Locate files by FileDate in FILELIST files.
Usage: Locater p# t# $lastuser =filename.ext /fixfbbs.cfg #days Date_STR
P# = COM Port number, Com1 = p1 etc... Uses FOSSIL.
P0 = Local mode, does not use FOSSIL.
#days = Find new files #days old or less. (10 = ten days etc.)
Date_STR = DOS style date, mon-day-year. eg. 01-01-92
$lastuser = full path of a LASTUSER.BBS file. Use T# to
override for different Tasks.
=filename.ext = full path of a filelist to search, otherwise
all files listed in FIXFBBS.CFG are searched.
/filename.ext = full path of a FIXFBBS.CFG type file.
Example1: LOCATER.EXE P%P $C:\MAX\LASTUSER.BBS /C:\MAX\FIXFBBS.CFG =%w
= this is the equivalent of a F* in a specific area.
Example2: LOCATER.EXE P%P $C:\MAX\LASTUSER.BBS /C:\MAX\FIXFBBS.CFG
= this is the equivalent of a L* in any area.
LOCATER will prompt for date information if none on command line.
=============================================================================
Locater is an online program that will search
for newfiles in filelists that contain valid
date information of the standard DOS type. Locater
uses the FOSSIL if operated remotely.
FILENAME.EXT 1234 01-01-80 [ 1] description
^^^^^^^^
Jan 01, 1980 etc....
This program, and the 2 .mec files supplied can
be used on a CD-Rom type system that has filesize
and filedate as part of the description. Of course
this program has been designed to compliment both
Fixfbbs and Logcount. It uses (needs) a config
file exactly the same as FIXFBBS.
Newfile.Mec is used when somebody enters a "F*" while in an area,
in this case the filelist name is passed as a command line option
and LOCATER does not read the filelists in Fixfbbs.cfg. Only finds
newfiles in the current file area.
Locater.Mec is used when somebody enters a "L*' while in an area.
It will then check all filelists in fixfbbs.cfg to find all new
files by date.
It is very important the the first 4 lines of Fixfbbs.Cfg have
the correct information, especially if you have avatar colour
codes as part of your download counters. Locater strips out the
avatar codes. If the user has ANSI active then the default Maximus
colours will be added, if the user has Avatar or TTY active then
no ANSI colours will be added. The descriptions should appear exactly
as Maximus would display them, with the descriptions properly
adjusted for any download counter size.
The .mec files assume that the fixfbbs.cfg and lastus??.bbs
are in the c:\max directory. The LOCATER.MEC file also has
a reference to the normal Locate function help file,
c:\max\hlp\locate. If these names are different or the paths
to them are different then make the appropriate alterations.
Compile the .Mec files with MECCA, then edit your Menus.Ctl
and replace the standard Maximus functions with the new
Display_files. The standard Maximus functions do not work
if Maximus has been instructed to "FileDate NONE"!
% Locate Twit "Locate a file"
Display_file misc\locater Twit "Locate a file"
% File_Titles Twit "File Titles"
Display_file misc\newfile Twit "File Titles"
A user will be able to look for new files in any and all filelists
configured in the fixfbbs.cfg. Make sure you set appropriate privilege
levels in Menu.Ctl if this causes any security problems. The example
privilege "TWIT" lets everybody use the newfile search.
If you omit the $lastuser.bbs option then LOCATER will not be able
to obtain the users' graphic setting or the date of their last call.
ANSI will be active and Locater will not be able to determine the
date of the users' last call. I suggest you include the $lastuse.bbs
parameter when running the program remotely...
good luck.
(C) Rodney A. Fraser, 1992.